package com.heking.sharelib;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.zhoug.share.ShareLib;
import com.zhoug.share.ShareUtils;
import com.zhoug.share.ui.ShareDialog;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ShareLib.init(getApplication(),true);
    }

    public void share(View view) {
        ShareUtils.shareImage(this,"/storage/emulated/0/0相册/2017-11-06_15_13_08.jpg");
    }
}